home *** CD-ROM | disk | FTP | other *** search
/ Adobe Graphics & Publishing SDK 1996 December / Adobe Graphics & Publishing SDK 1996 December.iso / mac / Illustrator 6.0 SDK r1 Mac / AI Plugin Interface / AIUndo.h < prev    next >
Text File  |  1995-12-21  |  1KB  |  79 lines

  1. /**
  2.  
  3.     AIUndo.h
  4.     Copyright (c) 1995 Adobe Systems Incorporated.
  5.     All Rights Reserved
  6.  
  7.     Adobe Illustrator 6.0 Undo Suite.
  8.  
  9.  **/
  10.  
  11. #ifndef __AIUndo__
  12. #define __AIUndo__
  13.  
  14.  
  15. /*******************************************************************************
  16.  **
  17.  **    Imports
  18.  **
  19.  **/
  20.  
  21. #include "AITypes.h"
  22.  
  23.  
  24. #if Macintosh
  25.     #ifdef __cplusplus
  26.     extern "C" {
  27.     #endif
  28.     
  29.     #if PRAGMA_ALIGN_SUPPORTED
  30.     #pragma options align=mac68k
  31.     #endif
  32.     
  33.     #if PRAGMA_IMPORT_SUPPORTED
  34.     #pragma import on
  35.     #endif
  36. #endif
  37.  
  38.  
  39. /*******************************************************************************
  40.  **
  41.  ** Constants
  42.  **
  43.  **/
  44.  
  45. #define kAIUndoSuite        "AI Undo Suite"
  46. #define kAIUndoVersion        2
  47.  
  48.  
  49. /*******************************************************************************
  50.  **
  51.  **    Suite
  52.  **
  53.  **/
  54.  
  55. typedef struct {
  56.  
  57.     MACPASCAL FXErr (*SetUndoText) ( char *undoText, char *redoText );
  58.     MACPASCAL FXErr (*UndoChanges) ( void );
  59.  
  60. } AIUndoSuite;
  61.  
  62.  
  63. #if Macintosh
  64.     #if PRAGMA_IMPORT_SUPPORTED
  65.     #pragma import off
  66.     #endif
  67.     
  68.     #if PRAGMA_ALIGN_SUPPORTED
  69.     #pragma options align=reset
  70.     #endif
  71.     
  72.     #ifdef __cplusplus
  73.     }
  74.     #endif
  75. #endif
  76.  
  77.  
  78. #endif
  79.